﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000AEB RID: 2795
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class MatchThreeSetBirdPosScRsp : IMessage<MatchThreeSetBirdPosScRsp>, IMessage, IEquatable<MatchThreeSetBirdPosScRsp>, IDeepCloneable<MatchThreeSetBirdPosScRsp>, IBufferMessage
	{
		// Token: 0x17002348 RID: 9032
		// (get) Token: 0x06007D19 RID: 32025 RVA: 0x0014DE81 File Offset: 0x0014C081
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<MatchThreeSetBirdPosScRsp> Parser
		{
			get
			{
				return MatchThreeSetBirdPosScRsp._parser;
			}
		}

		// Token: 0x17002349 RID: 9033
		// (get) Token: 0x06007D1A RID: 32026 RVA: 0x0014DE88 File Offset: 0x0014C088
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return MatchThreeSetBirdPosScRspReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x1700234A RID: 9034
		// (get) Token: 0x06007D1B RID: 32027 RVA: 0x0014DE9A File Offset: 0x0014C09A
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return MatchThreeSetBirdPosScRsp.Descriptor;
			}
		}

		// Token: 0x06007D1C RID: 32028 RVA: 0x0014DEA1 File Offset: 0x0014C0A1
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public MatchThreeSetBirdPosScRsp()
		{
		}

		// Token: 0x06007D1D RID: 32029 RVA: 0x0014DEA9 File Offset: 0x0014C0A9
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public MatchThreeSetBirdPosScRsp(MatchThreeSetBirdPosScRsp other) : this()
		{
			this.retcode_ = other.retcode_;
			this.pos_ = other.pos_;
			this.birdId_ = other.birdId_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x06007D1E RID: 32030 RVA: 0x0014DEE6 File Offset: 0x0014C0E6
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public MatchThreeSetBirdPosScRsp Clone()
		{
			return new MatchThreeSetBirdPosScRsp(this);
		}

		// Token: 0x1700234B RID: 9035
		// (get) Token: 0x06007D1F RID: 32031 RVA: 0x0014DEEE File Offset: 0x0014C0EE
		// (set) Token: 0x06007D20 RID: 32032 RVA: 0x0014DEF6 File Offset: 0x0014C0F6
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint Retcode
		{
			get
			{
				return this.retcode_;
			}
			set
			{
				this.retcode_ = value;
			}
		}

		// Token: 0x1700234C RID: 9036
		// (get) Token: 0x06007D21 RID: 32033 RVA: 0x0014DEFF File Offset: 0x0014C0FF
		// (set) Token: 0x06007D22 RID: 32034 RVA: 0x0014DF07 File Offset: 0x0014C107
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint Pos
		{
			get
			{
				return this.pos_;
			}
			set
			{
				this.pos_ = value;
			}
		}

		// Token: 0x1700234D RID: 9037
		// (get) Token: 0x06007D23 RID: 32035 RVA: 0x0014DF10 File Offset: 0x0014C110
		// (set) Token: 0x06007D24 RID: 32036 RVA: 0x0014DF18 File Offset: 0x0014C118
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint BirdId
		{
			get
			{
				return this.birdId_;
			}
			set
			{
				this.birdId_ = value;
			}
		}

		// Token: 0x06007D25 RID: 32037 RVA: 0x0014DF21 File Offset: 0x0014C121
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as MatchThreeSetBirdPosScRsp);
		}

		// Token: 0x06007D26 RID: 32038 RVA: 0x0014DF30 File Offset: 0x0014C130
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(MatchThreeSetBirdPosScRsp other)
		{
			return other != null && (other == this || (this.Retcode == other.Retcode && this.Pos == other.Pos && this.BirdId == other.BirdId && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x06007D27 RID: 32039 RVA: 0x0014DF8C File Offset: 0x0014C18C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.Retcode != 0U)
			{
				num ^= this.Retcode.GetHashCode();
			}
			if (this.Pos != 0U)
			{
				num ^= this.Pos.GetHashCode();
			}
			if (this.BirdId != 0U)
			{
				num ^= this.BirdId.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x06007D28 RID: 32040 RVA: 0x0014DFFD File Offset: 0x0014C1FD
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x06007D29 RID: 32041 RVA: 0x0014E005 File Offset: 0x0014C205
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x06007D2A RID: 32042 RVA: 0x0014E010 File Offset: 0x0014C210
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.Pos != 0U)
			{
				output.WriteRawTag(16);
				output.WriteUInt32(this.Pos);
			}
			if (this.Retcode != 0U)
			{
				output.WriteRawTag(80);
				output.WriteUInt32(this.Retcode);
			}
			if (this.BirdId != 0U)
			{
				output.WriteRawTag(120);
				output.WriteUInt32(this.BirdId);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x06007D2B RID: 32043 RVA: 0x0014E088 File Offset: 0x0014C288
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.Retcode != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.Retcode);
			}
			if (this.Pos != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.Pos);
			}
			if (this.BirdId != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.BirdId);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x06007D2C RID: 32044 RVA: 0x0014E0F8 File Offset: 0x0014C2F8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(MatchThreeSetBirdPosScRsp other)
		{
			if (other == null)
			{
				return;
			}
			if (other.Retcode != 0U)
			{
				this.Retcode = other.Retcode;
			}
			if (other.Pos != 0U)
			{
				this.Pos = other.Pos;
			}
			if (other.BirdId != 0U)
			{
				this.BirdId = other.BirdId;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x06007D2D RID: 32045 RVA: 0x0014E15C File Offset: 0x0014C35C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x06007D2E RID: 32046 RVA: 0x0014E168 File Offset: 0x0014C368
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 16U)
				{
					if (num != 80U)
					{
						if (num != 120U)
						{
							this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
						}
						else
						{
							this.BirdId = input.ReadUInt32();
						}
					}
					else
					{
						this.Retcode = input.ReadUInt32();
					}
				}
				else
				{
					this.Pos = input.ReadUInt32();
				}
			}
		}

		// Token: 0x04002FCC RID: 12236
		private static readonly MessageParser<MatchThreeSetBirdPosScRsp> _parser = new MessageParser<MatchThreeSetBirdPosScRsp>(() => new MatchThreeSetBirdPosScRsp());

		// Token: 0x04002FCD RID: 12237
		private UnknownFieldSet _unknownFields;

		// Token: 0x04002FCE RID: 12238
		public const int RetcodeFieldNumber = 10;

		// Token: 0x04002FCF RID: 12239
		private uint retcode_;

		// Token: 0x04002FD0 RID: 12240
		public const int PosFieldNumber = 2;

		// Token: 0x04002FD1 RID: 12241
		private uint pos_;

		// Token: 0x04002FD2 RID: 12242
		public const int BirdIdFieldNumber = 15;

		// Token: 0x04002FD3 RID: 12243
		private uint birdId_;
	}
}
